﻿using System;
using System.Collections.Generic;

namespace YArchitech.Public
{
	public class VerticalMenuCommandTableInfos
	{
		public List<VerticalMenuTableInfos> TableInofList { get; set; }

		public List<string> Titles
		{
			get
			{
				List<string> list = new List<string>();
				foreach (VerticalMenuTableInfos verticalMenuTableInfos in this.TableInofList)
				{
					list.Add(verticalMenuTableInfos.TableName);
				}
				return list;
			}
		}

		public VerticalMenuCommandTableInfos()
		{
			this.TableInofList = new List<VerticalMenuTableInfos>();
		}

		public VerticalMenuCommandTableInfos(List<VerticalMenuTableInfos> tableInofList)
		{
			this.TableInofList = tableInofList;
		}

		public VerticalMenuCommandTableInfos(VerticalMenuCommandTableInfos infos)
		{
			this.TableInofList = infos.TableInofList;
		}
	}
}
